package ln.gather.jsr.jcache.management;

import javax.cache.management.CacheStatisticsMXBean;

/**
 * @Description CacheStatisics
 * @Author zhangj
 * @Date 2022/11/17 23:05
 */
public interface CacheStatistics extends CacheStatisticsMXBean {

    CacheStatistics reset();

    CacheStatistics cacheHits();

    CacheStatistics cacheGets();

    CacheStatistics cachePuts();

    CacheStatistics cacheRemovals();

    CacheStatistics cacheEvictions();

    CacheStatistics cacheGetsTime(long costTime);

    CacheStatistics cachePutsTime(long costTime);

    CacheStatistics cacheRemovesTime(long costTimes);

}
